package com.enitiy;


public class Book {

  private int bid;
  private String book;
  private String user;
  private int kid;
  private String synopsis;
  private String img;
  private String url;

  public Book() {
  }

  public Book(int bid, String book, String user, int kid, String synopsis) {
    this.bid = bid;
    this.book = book;
    this.user = user;
    this.kid = kid;
    this.synopsis = synopsis;
  }

  public Book(String book, String user, int kid, String synopsis, String img, String url) {
    this.book = book;
    this.user = user;
    this.kid = kid;
    this.synopsis = synopsis;
    this.img = img;
    this.url = url;
  }

  public int getBid() {
    return bid;
  }

  public void setBid(int bid) {
    this.bid = bid;
  }


  public String getBook() {
    return book;
  }

  public void setBook(String book) {
    this.book = book;
  }


  public String getUser() {
    return user;
  }

  public void setUser(String user) {
    this.user = user;
  }


  public int getKid() {
    return kid;
  }

  public void setKid(int kid) {
    this.kid = kid;
  }


  public String getSynopsis() {
    return synopsis;
  }

  public void setSynopsis(String synopsis) {
    this.synopsis = synopsis;
  }


  public String getImg() {
    return img;
  }

  public void setImg(String img) {
    this.img = img;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  @Override
  public String toString() {
    return "Book{" +
            "bid=" + bid +
            ", book='" + book + '\'' +
            ", user='" + user + '\'' +
            ", kid=" + kid +
            ", synopsis='" + synopsis + '\'' +
            ", img='" + img + '\'' +
            ", url='" + url + '\'' +
            '}';
  }
}
